Instance Variables
The following instance variables are available globally.
-
Point located at maximum X and Y values of this rect.
Declaration
Swift
public var maxPoint: CGPoint { get }
-
Point located at minimum X and Y values of this rect.
Declaration
Swift
public var minPoint: CGPoint { get }
-
Mercator Y component of this coordinate.
Declaration
Swift
var mercatorY: Double { get }
-
Mercator X component of this coordinate.
Declaration
Swift
var mercatorX: Double { get }
-
Whether this coordinate is
(0, 0)
or not.Declaration
Swift
public var isZero: Bool { get }
-
Centroid of this instance, computed from
self.centroidLat
andself.centroidLon
.Declaration
Swift
public var centroid: CLLocationCoordinate2D { get }
-
Whether this coordinate region is valid or not.
Declaration
Swift
public var valid: Bool { get }
-
Map rect equivalent to this coordinate region.
Declaration
Swift
public var mapRect: MKMapRect { get }
-
Whether this coordinate region is centered at 0 with a zero size or not.
Declaration
Swift
public var isZero: Bool { get }
-
Returns bounding box of this map rect as a string.
Declaration
Swift
public var bbox: String { get }
-
Area of this size.
Declaration
Swift
public var area: Double { get }
-
Bounding box of this overlay path using WGS84 coordinate system.
Declaration
Swift
public var bboxWGS84: String { get }
-
Bounding box of this overlay path using Mercator projection.
Declaration
Swift
public var bboxMercator: String { get }
-
Amount of points required to draw complex shape.
Declaration
Swift
var complexShapePointCount: Int { get }
-
Amount of points required to draw simplified shape.
Declaration
Swift
var simplifiedShapePointCount: Int { get }
-
Unique identifier of this multi polygon overlay.
Declaration
Swift
var uniqueIdentifier: String { get }
-
Polygons in this overlay.
Declaration
Swift
var polygons: [MKPolygon] { get }
-
Whether this polygon is selected and should be drawn as selected or not.
Declaration
Swift
var selected: Bool { get set }
-
Simplified polygon for this overlay.
Declaration
Swift
var simplifiedPolygon: MKPolygon { get }
-
Polygons to be drawn.
Declaration
Swift
fileprivate let polygons: [MKPolygon]